package com.ssy.lingxi.order.model.vo.common.request;

import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 *  收发货人地址信息
 * @author ds
 * @date 2022/3/23
 * @version 2.0.0
 */
@Setter
@Getter
public class LogisticsAddressVO implements Serializable {


    private static final long serialVersionUID = -437381762273732275L;
    /**
     * 收货人姓名
     */
    @Size(max = 50,message = "收货人姓名最长50个字符！")
    private String consignee;

    /**
     * 省名称
     */
    @Size(max = 15,message = "省名称最长15个字符！")
    private String provinceName;

    /**
     * 市名称
     */
    @Size(max = 15,message = "市名称最长15个字符！")
    private String cityName;

    /**
     * 区名称
     */
    @Size(max = 15,message = "区名称最长15个字符！")
    private String districtName;

    /**
     * 街道名称
     */
    @Size(max = 30,message = "街道名称最长30个字符！")
    private String streetName;

    /**
     * 地址
     */
    @Size(max = 150,message = "地址最长150个字符！")
    private String address;

    /**
     * 手机号码
     */
    @Size(max = 20,message = "手机号码最长20个字符！")
    private String phone;

    /**
     * 车牌号码
     */
    @Size(max = 15,message = "车牌号码最长15个字符！")
    private String carNumbers;
}
